package com.wenhua.junshao.common;

public class BaseContext {
    public static final ThreadLocal<Long> threadLocal = new ThreadLocal<Long>();

    //设置值
    public static void setCurrentId(Long id) {
        threadLocal.set(id);
    }

    public static Long getCurrentId() {
        return threadLocal.get();

    }
}
